package cn.jianyongjie.basic.constant;

/**
* @Description: 全局常量
* @Author: JianYongJie
* @Version: 1.0
* @Date:  2022/5/8 16:00
*/
public class BaseConstant {



    // 注册验证码全局常量
    public static final String REGISTER_VERIFICATION_CODE = "register:";

    // 登录注册验证码全局常量
    public static final String REGISTER_LOGIN_CODE = "login:";

    // 绑定注册登录
    public static final String REGISTER_BINDER_CODE = "binder:";

    // 微信登录的APPID
    public static final String APPID = "wxd853562a0548a7d0";

    // 微信登录的SECRET
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    // 微信登录:通过APPID、SECRET、code发起请求得到token
    public static final String WECHAT_LOGIN_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    // 微信授权注册
    public static final String GET_WX_URL="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
